home *** CD-ROM | disk | FTP | other *** search
- /***********************************************************************
- *
- * SETUP Version 55 for Real Time Operation at multiple bit rates
- *
- *************************************************************************
- *
- * Set processing options
- */
-
- #include "lpcdefs.h"
- #include "config.ch"
- #include "common.h"
- #include "contrl.ch"
-
- setup(nargs, args)
- int nargs;
- char *args[];
- {
- char fname[80], fname2[80], line[80];
- /*
- Call to getcl() gets name of input and output file and message level.
- Real time doesn't need messages about performance, etc, so those will be
- eliminated.
- */
- if (nargs < 3) {
- printf("Usage: %s inputfile outputfile\n", args[0]);
- exit(1);
- }
- else {
- fdi = fopen(args[1], "rb");
- if(fdi==NULL) {
- printf("Problem opening [3] %s ... program exiting\n",args[1]);
- exit(1);
- }
-
-
- fdo = fopen(args[2], "w");
- if(fdo == NULL) {
- printf("Problem opening [4] ... program exiting %s\n",args[2]);
- exit(1);
- }
- }
- }
-